package jsd2204.bookstore.bookserver.mapper;

import jsd2204.bookstore.bookserver.pojo.vo.BookRankingStandardVO;
import jsd2204.bookstore.bookserver.pojo.vo.BookStandardVO;
import jsd2204.bookstore.bookserver.pojo.vo.HostRandkingVO;
import jsd2204.bookstore.bookserver.pojo.vo.ReadTestStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface BookMapper {
    BookStandardVO bookStandardVOById(Long id);
    ReadTestStandardVO readTestStandardById(Long id);
    int salesBook(Long id);

    List<BookRankingStandardVO> bookRanking(String classify);
    String typeById(Long id);
    List<HostRandkingVO> hostRandking();
}
